import { defineStore } from 'pinia'
import { userDetail } from '../service/user/types'

export const useUserStore = defineStore(
  'user',
  () => {
    const user = ref<userDetail.User>()
    return {
      user
    }
  },
  { persist: true }
)
